﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AppLayer
{
	public class UserAccount
	{
		public enum UserType { Normal = 1, Designer, Admin};

		public UserType LogInUser(string username, string password)
		{
			UserType returnValue = UserType.Normal;

			if (username == "admin")
			{
				returnValue = UserType.Admin;
			}
			else if (username == "designer")
			{
				returnValue = UserType.Designer;
			}

			return returnValue;
		}
	}
}
